<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>英你而来 - 公共页面</title>
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <style>
        :root {
            --primary-color: #105186;
            --secondary-color: #092B42;
            --light-bg: #F0F2F3;
            --text-gray: #666666;
            --accent-red: #E74C3C;
            --accent-orange: #FCB338;
            --dark-text: #171C1D;
            --accent-green: #71BF50;
            --white: #ffffff;
            --shadow: 0 4px 20px rgba(16, 81, 134, 0.1);
            --hover-shadow: 0 8px 30px rgba(16, 81, 134, 0.15);
            --border-radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Noto Sans TC', sans-serif;
            background: var(--light-bg);
            color: var(--dark-text);
            line-height: 1.6;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .page-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 3rem 0;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .page-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .content-section {
            background: var(--white);
            padding: 2.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }

        .section-title {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--light-bg);
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 500;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
            cursor: pointer;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            box-shadow: var(--shadow);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--hover-shadow);
        }

        .btn-secondary {
            background: var(--white);
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background: var(--primary-color);
            color: var(--white);
        }

        .navigation-links {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        @media (max-width: 768px) {
            .page-title {
                font-size: 2rem;
            }
            
            .container {
                padding: 1rem;
            }
            
            .content-section {
                padding: 1.5rem;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="page-header">
            <h1 class="page-title">英你而来</h1>
            <p class="page-subtitle">智能英语学习平台</p>
        </div>

        <div class="content-section">
            <h2 class="section-title">欢迎使用</h2>
            <p>这是一个通用的页面模板，您可以在这里添加任何内容。</p>
            
            <div class="navigation-links">
                <a href="/index" class="btn btn-primary">
                    <i class="fas fa-home"></i>
                    返回首页
                </a>
                <a href="/homework" class="btn btn-secondary">
                    <i class="fas fa-book"></i>
                    题库练习
                </a>
                <a href="/discuss" class="btn btn-secondary">
                    <i class="fas fa-comments"></i>
                    社区讨论
                </a>
                <a href="/analysis" class="btn btn-secondary">
                    <i class="fas fa-chart-line"></i>
                    学情分析
                </a>
            </div>
        </div>

        <!-- 可以在这里添加更多内容区块 -->
        <div th:fragment="content">
            <!-- 动态内容将在这里插入 -->
        </div>
    </div>
</body>
</html>